import { get,post } from '@/utils/request'


const state={
  // 系统配置信息数组
  dataList:[]
}

const actions={
  // 请求系统配置信息
  async getBaseconfig(context){
    let res = await get('/baseConfig/findAll')
    context.commit('SET_baseconfig',res.data)
  },
  
}

const mutations={
  SET_baseconfig(state,res){
    state.dataList=res
  }
}

const getters={}

export default{
  namespaced:true,
  state,
  actions,
  mutations,
  getters
}
